Project 2  1
Matrix< ValueT > Class Template Reference

Public Member Functions

 Matrix (uint row_count=0, uint col_count=0)
 
 Matrix (std::initializer_list< ValueT >)
 
 Matrix (std::initializer_list< std::initializer_list< ValueT >>)
 
 Matrix (const Matrix &)
 
Matrix< ValueT > deep_copy () const
 
const Matrix< ValueT > & operator= (const Matrix< ValueT > &)
 
 Matrix (Matrix &&)
 
const ValueT & operator() (uint row, uint col) const
 
ValueT & operator() (uint row, uint col)
 
template<typename UnaryMatrixOperator >
Matrix< typename std::result_of< UnaryMatrixOperator(Matrix< ValueT >) >::type > unary_map (const UnaryMatrixOperator &op) const
 
Matrix< ValueT > extra_borders (uint kernel_vert_radius, uint kernel_hor_radius) const
 
template<typename UnaryMatrixOperator >
Matrix< typename std::result_of< UnaryMatrixOperator(Matrix< ValueT >)>::type > unary_map (UnaryMatrixOperator &op) const
 
const Matrix< ValueT > submatrix (uint prow, uint pcol, uint rows, uint cols) const
 
template<typename UnaryMatrixOperator >
Matrix< typename std::result_of< UnaryMatrixOperator(Matrix< ValueT >)>::type > unary_map (const UnaryMatrixOperator &op) const
 

Public Attributes

const uint n_rows
 
const uint n_cols
 

Friends

template<typename BinaryMatrixOperator >
Matrix< ValueT > binary_map (const BinaryMatrixOperator &, const Matrix< ValueT > &, const Matrix< ValueT > &)
 

The documentation for this class was generated from the following files: